//
//  UIColor+Category.m
//  IOSFrameWork
//
//  Created by 严贵敏 on 15/6/25.
//  Copyright (c) 2015年 严贵敏. All rights reserved.
//

#import "UIColor+Category.h"

@implementation UIColor (Category)
//文字黑
+ (UIColor *)customTextBlackColor{
    return [self colorWithRed:35 green:35 blue:35];
}
//文字灰
+ (UIColor *)customTextGreyColor{
    return [self colorWithRed:100 green:100 blue:100];
}
//文字橙
+ (UIColor *)customTextOrangeColor{
    return [self colorWithRed:255 green:135 blue:100];
}
//选择绿色
+ (UIColor *)customSelectColor{
    return [self colorWithRed:108 green:193 blue:67];
}
//线条灰
+ (UIColor *)customLineGreyColor{
    return [self colorWithRed:220 green:220 blue:220];
}

+ (UIColor *)customBgGreyColor{
    return [self colorWithRed:245 green:245 blue:245];
}

#pragma mark - Private class methods
+ (UIColor *)colorWithRed:(NSUInteger)red
                    green:(NSUInteger)green
                     blue:(NSUInteger)blue
{
    return [UIColor colorWithRed:(float)(red/255.f)
                           green:(float)(green/255.f)
                            blue:(float)(blue/255.f)
                           alpha:1.f];
}
@end
